@layout("/common/_container.html",{js:["/assets/storage/storageStock/shishikucun.js"]}){
<style>
	.layui-table-page{
		display: none;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">库存监控</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
		                    <div class="layui-inline">
		                        <select id="operateId">
		                            <option value="">选择项目</option>
						            @for(item in basicOperatelist!){
						            <option value="${item.id}">${item.operateName}</option>
						            @}
		                        </select>
		                    </div>
		                    <div class="layui-inline">
		                        <select id="customerId">
		                            <option value="">选择客户</option>
						            @for(item in basicCustomerList!){
						            <option value="${item.id}">${item.customerName}</option>
						            @}
		                        </select>
		                    </div>
		                    <div class="layui-inline">
		                        <select id="warehouseId" lay-filter="warehouseId">
						            @for(item in basicWarehouseList!){
						            <option value="${item.id}">${item.warehouseName}</option>
						            @}
		                        </select>
		                    </div>

		                    <div class="layui-inline" style="width: 180px;">
		                        <input id="goodsNumber" class="layui-input" type="text" placeholder="商品编号"/>
		                    </div>
		                    <div class="layui-inline" style="width: 180px;">
		                        <input id="goodsName" class="layui-input" type="text" placeholder="商品名称" autocomplete="off" style="padding-right: 40px;"/>
		                    </div>
		                    <div class="layui-inline" style="width: 180px;">
		                        <input id="goodsNo" class="layui-input" type="text" placeholder="货号" autocomplete="off" style="padding-right: 40px;"/>
		                        <button type="button" class="layui-btn layui-btn-primary" id="choiceg" style="position: absolute;right: 1px;cursor: pointer;top: 2px"><i class="layui-icon">&#xe615;</i></button>
		                    </div>
		                    <div class="layui-inline">
		                        <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
		                    </div>
		                    <div class="layui-inline">
		                    	<button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
		                    </div>
	                    </div>
	                </div>
               		<table class="layui-table" id="storageStockTable" lay-filter="storageStockTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="stockstateTpl">
  {{#  if(d.stockstate === '在库'){ }}
    <span style="color: #43CF7C;font-weight: 600;">{{ d.stockstate }}</span>
  {{#  } else { }}
    {{ d.stockstate }}
  {{#  } }}
</script>
@}